/*
 * hanabiratasksendpost.h
 *
 *  Created on: Sep 28, 2011
 *      Author: anonovermind <anonovermind@gmail.com>
 */

#ifndef HANABIRATASKSENDPOST_H_
#define HANABIRATASKSENDPOST_H_

#include "tasks/tasksendpost.h"

namespace Wishmaster {

class HanabiraAgent;
class HanabiraTaskSendPost: public Wishmaster::TaskSendPost
{
public:
	HanabiraTaskSendPost(const PostDescriptor& post, const QString& captcha,
			Wishmaster2::Network::RequestManager* requestManager, const QString& msg, HanabiraAgent* agent);
	virtual ~HanabiraTaskSendPost();

protected:
	virtual Wishmaster2::Network::RequestPtr makeRequest(const PostDescriptor& post, const QString& captcha,
			Wishmaster2::Network::RequestManager* requestManager);

private:
	PostDescriptor m_post;
	QString m_captcha;
	HanabiraAgent* m_agent;
};

} /* namespace Wishmaster */
#endif /* HANABIRATASKSENDPOST_H_ */
